$url = explode("/",$REQUEST_URI);
if ($url[2] == "")
{
include ("location: http://www.antibes.co.uk/immobilieres/index.php");
}
if ($url[3] == "")
{
include ("http://www.antibes.co.uk/immobilieres/index.php");
}elseif ($url[3] !=NULL AND $url[2] != NULL)
{
//echo"3";
}
else
{
echo "Error processing your request - please click here.";
}
//echo"4";
echo "
Villa for sale to buy in ";
if ($url[3] == "jjc.php")
{
//this is french
//$fd = fopen ("http://www.jjc-international.com/$url[4]", "r");
$fd = fopen("http://www.jjc-international.com/$url[4]","r") or die("");
}
//this is english
else $fd = fopen ("http://www.jjc-international.com/$url[3]", "r");
$fe = fopen ("http://www.jjc-international.com/$url[3]", "r");
if (!$fd) {
die("");
}
while (!feof ($fd)) {
$current_line = fgets($fd, 4096);
if ($url[3] != "jjc.php")
{
//this is not french
$current_line = ereg_replace ("a href=\"v", "a href=\"jjc.php/v", $current_line);
$current_line = ereg_replace ("a HREF=\"v", "a href=\"jjc.php/v", $current_line);
}
if ($url[3] == "jjc.php")
{
//this is french
//$current_line = ereg_replace ("jjc.php/v", "a href=\"/v", $current_line);
}
$testa = ereg("", $current_line);
if ($url[3] != "v0484.htm") {if ($testa != NULL)
{
$firsta_line_passed = "1";
$current_line = ereg_replace ("", "", $current_line);
$current_line = ereg_replace ("", "", $current_line);
//$current_line = ereg_replace ("#000080", "red", $current_line);
$current_line = ereg_replace ("", "", $current_line);
$current_line = ereg_replace ("", "EU Click here for other villas and apartments for sale on the French Riviera Email: jjc@antibes.co.uk about this property ", $current_line);
//$current_line = ereg_replace ("", "", $current_line);
$current_line = ereg_replace ("", "", $current_line);
$current_line = ereg_replace (" ", "", $current_line);
$current_line = ereg_replace ("Terrain", "", $current_line);
$current_line = ereg_replace ("/", "", $current_line);
$current_line = ereg_replace ("Piscine /", "", $current_line);
$current_line = ereg_replace ("", "", $current_line);
//$current_line = ereg_replace ("Villa", "Villa for sale", $current_line);
$current_line = ereg_replace ("Apartment", "Apartment for sale", $current_line);
$current_line = ereg_replace (" ", " ", $current_line);
$current_line = ereg_replace (" : ", " ", $current_line);
$current_line = ereg_replace ("Réf","", $current_line);
//$current_line = ereg_replace ("808080", "C0C0C0", $current_line);
$current_line = ereg_replace ("AE5351", "C0C0C0", $current_line);
$current_line = ereg_replace ("", "", $current_line);
$current_line = ereg_replace ("", "", $current_line);
$current_line = ereg_replace ("", "", $current_line);
$current_line = ereg_replace (" ", " ", $current_line);
$current_line = ereg_replace ("", "", $current_line);
$current_line = ereg_replace ("valign=\"bottom\"", "", $current_line);
$current_line = ereg_replace ("valign=\"bottom\"", "", $current_line);
$current_line = ereg_replace ("valign=\"left\"", "", $current_line);
$current_line = ereg_replace ("valign=\"top\"", "", $current_line);
$current_line = ereg_replace ("valign=\"right\"", "", $current_line);
$current_line = ereg_replace ("align=\"left\"", "", $current_line);
$current_line = ereg_replace ("align=\"top\"", "", $current_line);
$current_line = ereg_replace ("align=\"right\"", "", $current_line);
$current_line = ereg_replace ("align=\"left\"", "", $current_line);
$current_line = ereg_replace ("", "", $current_line);
$current_line = ereg_replace ("valign=\"top\"", "", $current_line);
$current_line = ereg_replace ("align=\"top\"", "", $current_line);
$current_line = ereg_replace ("align=\"right\"", "", $current_line);
$current_line = ereg_replace (" | ", "", $current_line);
$current_line = ereg_replace (".htm\"", "", $current_line);
$current_line = ereg_replace ("", "", $current_line);
$current_line = ereg_replace (".htm\"", "", $current_line);
$current_line = ereg_replace ("height=\"", "", $current_line);
$current_line = ereg_replace ("rgb", "", $current_line);
$current_line = ereg_replace ("174,83,81", "", $current_line);
$current_line = ereg_replace ("style=\"color", "", $current_line);
$current_line = ereg_replace ("p align=\"left\"", "", $current_line);
$current_line = ereg_replace ("td width=\"[0-9][0-9]%\"", "", $current_line);
$current_line = ereg_replace ("", "", $current_line);
//$current_line = ereg_replace (" | ", "", $current_line);
$current_line = ereg_replace (">", "", $current_line);
$current_line = ereg_replace ("VIEIL", "OLD ANTIBES - OLD TOWN - VIEIL ", $current_line);
$current_line = ereg_replace ("";
echo "";
include ("http://www.info-world.com/bodytext.php");
echo "HOUSES AND VILLAS FOR SALE";
while (!feof ($fe)) {
$current_line = fgets($fe, 4096);
if ($url[3] != "jjc.php")
{
//this is not french
$current_line = ereg_replace ("a href=\"v", "a href=\"jjc.php/v", $current_line);
$current_line = ereg_replace ("a HREF=\"v", "a href=\"jjc.php/v", $current_line);
}
if ($url[3] == "jjc.php")
{
//this is french
//$current_line = ereg_replace ("jjc.php/v", "a href=\"/v", $current_line);
}
$current_line = ereg_replace ("img src=\"_borders", "img src=\"http://www.jjc-international.com/_borders", $current_line);
$current_line = ereg_replace ("img SRC=\"_borders", "img src=\"http://www.jjc-international.com/_borders", $current_line);
$current_line = ereg_replace ("#000080", "red", $current_line);
$current_line = ereg_replace ("#0000A0", "red", $current_line);
$current_line = ereg_replace ("", "EU Click here for other villas and apartments for sale on the French Riviera Email: jjc@antibes.co.uk about this property ", $current_line);
$current_line = ereg_replace ("negotiator", "", $current_line);
$current_line = ereg_replace ("\(H\/F\),", "", $current_line);
$current_line = ereg_replace ("\(M/F\),", "", $current_line);
$current_line = ereg_replace ("Nous recherchons un négociateur", "", $current_line);
$current_line = ereg_replace ("bilingue et de culture internationale.", "", $current_line);
$current_line = ereg_replace ("We are looking for a bilingual", "", $current_line);
$current_line = ereg_replace ("who has excellent experience with international clients.", "", $current_line);
$current_line = ereg_replace ("Villa", "Villa for sale", $current_line);
$current_line = ereg_replace ("Apartment", "Apartment for sale", $current_line);
$current_line = ereg_replace (" ", " ", $current_line);
$current_line = ereg_replace (" : ", " ", $current_line);
// $current_line = ereg_replace ("Réf","Email: jjc@antibes.co.uk about this property Ref ", $current_line);
$current_line = ereg_replace ("808080", "C0C0C0", $current_line);
$current_line = ereg_replace ("AE5351", "C0C0C0", $current_line);
$current_line = ereg_replace ("applet", "!-- ", $current_line);
$current_line = ereg_replace ("VIEIL", "OLD ANTIBES - OLD TOWN - VIEIL ", $current_line);
$current_line = ereg_replace ("jjc.php/jjc.php/", "jjc.php/", $current_line);
$test = ereg("color=\"red", $current_line);
if ($test != NULL)
{
$first_line_passed = "1";
echo "$current_line ";
}elseif ($first_line_passed == "1"){
//Initil line
///echo $current_line;
$test_two = ereg("document non contractuel", $current_line);
if ($test_two == NULL)
{
// echo $current_line;
/*Removed by Alex
$test_three = ereg(">More Pages From This Site ", $current_line);
if ($test_three == NULL){
echo $current_line;
$test_four = ereg("URL: ", $current_line);
if ($test_four == NULL) {}else{ $line_to_add = ereg_replace ("URL: ", "", $current_line);
$url_to_add = urlencode($line_to_add);
//echo "";
}
}else{
} *///
echo $current_line; }else{
$first_line_passed = "";
} } }
echo "Email: jjc@antibes.co.uk about this villa for sale ";
include ("http://www.info-world.com/bodytext.php");?>
Click here for other villas and apartments for sale and villa rentals and other french Riviera properties for sale
include ("http://www.antibes.co.uk/links.php");
echo "";
include ("http://www.antibes.co.uk/footer.php");
{
// echo "Error: Could not connect to database. Please try again later.";
exit;
}
include ("http://www.info-world.com/footer.php");
?> |